<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>楼信息</h5>
                <div class="ibox-tools" style="top:10px;">
                    <button type="button" v-if="viewFloorInfo.index != 2" class="btn btn-primary btn-sm"
                            style="margin-right:10px;" v-on:click="_openSelectFloorInfoModel()">
                        <i class="fa fa-search"></i> 选择楼
                    </button>

                    <button type="button" v-if="viewFloorInfo.index != 2 && viewFloorInfo.showAddFloorButton== 'true'" class="btn btn-primary btn-sm"
                            v-on:click="_openAddFloorInfoModel()">
                        <i class="fa fa-plus"></i> 添加楼
                    </button>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">楼ID：</label>
                            <label class="">{{viewFloorInfo.floorId}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">楼名称：</label>
                            <label class="">{{viewFloorInfo.floorName}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">楼编号：</label>
                            <label class="">{{viewFloorInfo.floorNum}}</label>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">备注：</label>
                            <label class="">{{viewFloorInfo.remark}}</label>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>

    <vc:create path="property/addFloor"
               callBackListener="viewFloorInfo"
               callBackFunction="chooseFloor"
    ></vc:create>


    <vc:create path="property/chooseFloor"
               emitChooseFloor="viewFloorInfo"
               emitLoadData="viewFloorInfo"
    ></vc:create>
</div>
